Skip to content

CNTRLPLANE-4402: add ExternalOIDCAsWebhook feature gate - #3043

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:masterfrom
liouk:feature-gate-external-oidc-as-webhook
Sep 24, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
openshift:masterfrom
liouk:feature-gate-external-oidc-as-webhook

Conversation

@liouk

@liouk liouk commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

Adds a feature gate for the work described in openshift/enhancements#2104

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: LGTM mode

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 16, 2026
@openshift-ci-robot

openshift-ci-robot commented Sep 16, 2026 •

Copy link
Copy Markdown

@liouk: This pull request references CNTRLPLANE-4402 which is a valid jira issue.

Details

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 16, 2026
@openshift-ci

openshift-ci Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Hello @liouk! Some important instructions when contributing to openshift/api:
API design plays an important part in the user experience of OpenShift and as such API PRs are subject to a high level of scrutiny to ensure they follow our best practices. If you haven't already done so, please review the OpenShift API Conventions and ensure that your proposed changes are compliant. Following these conventions will help expedite the api review process for your PR.

@coderabbitai

coderabbitai Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: a3e8ef1f-f780-43ac-b8ef-8ce58ec22eed

📥 Commits

Reviewing files that changed from the base of the PR and between b59c020 and 666f3e5.

📒 Files selected for processing (10)
  • features.md
  • features/features.go
  • payload-manifests/featuregates/featureGate-4-10-Hypershift-Default.yaml
  • payload-manifests/featuregates/featureGate-4-10-Hypershift-DevPreviewNoUpgrade.yaml
  • payload-manifests/featuregates/featureGate-4-10-Hypershift-OKD.yaml
  • payload-manifests/featuregates/featureGate-4-10-Hypershift-TechPreviewNoUpgrade.yaml
  • payload-manifests/featuregates/featureGate-4-10-SelfManagedHA-Default.yaml
  • payload-manifests/featuregates/featureGate-4-10-SelfManagedHA-DevPreviewNoUpgrade.yaml
  • payload-manifests/featuregates/featureGate-4-10-SelfManagedHA-OKD.yaml
  • payload-manifests/featuregates/featureGate-4-10-SelfManagedHA-TechPreviewNoUpgrade.yaml

Included review availability: Your plan provides up to 12 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The change registers the ExternalOIDCAsWebhook feature gate with authentication ownership and OpenShift scope. It adds the gate to the feature matrix for DevPreviewNoUpgrade and TechPreviewNoUpgrade on Hypershift and SelfManagedHA. It adds the gate to disabled lists for default and OKD manifests and enabled lists for preview manifests.

Suggested reviewers: vr4manta

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 666f3

The feature-gate configuration is consistent across supported profiles, with no identified merge-blocking risk.

🚥 Pre-merge checks | ✅ 14 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive No pull request description was provided, so the description does not explain the changeset. Add a brief description stating that the ExternalOIDCAsWebhook feature gate was added and specifying its preview configurations.
✅ Passed checks (14 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed The pull request changes only feature-gate declarations, documentation, and YAML manifests. The authoritative diff contains no Ginkgo test files or test titles such as It(), Describe(), Context(), or …
Test Structure And Quality ✅ Passed PASS: The pull request changes only feature declarations, documentation, and feature-gate manifests. The authoritative diff contains no Ginkgo test code or test operations, so the listed test-quality …
Microshift Test Compatibility ✅ Passed PASS: The pull request changes only feature metadata and feature-gate YAML manifests. The authoritative diff contains no new Ginkgo tests or test-name/body changes, so the MicroShift test-compatibilit…
Single Node Openshift (Sno) Test Compatibility ✅ Passed PASS: The reviewed range changes only feature-gate documentation, Go feature registration, and YAML feature-gate manifests. It adds no Ginkgo e2e tests or test constructs such as It(), Describe(),…
Topology-Aware Scheduling Compatibility ✅ Passed PASS: The pull request adds only the ExternalOIDCAsWebhook feature declaration, documentation, and feature-gate list entries. The authoritative diff adds no deployment, operator, or controller code …
Ote Binary Stdout Contract ✅ Passed The pull request adds one top-level feature-gate initializer and YAML/Markdown entries only. The initializer calls the existing builder and mustRegister; registration performs validation, map assign…
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PASS — The pull request adds a feature-gate declaration, documentation, and YAML manifests only. The authoritative diff contains no new Ginkgo e2e tests or test declarations, and no test networking co…
No-Weak-Crypto ✅ Passed The pull request adds only a feature-gate declaration, feature-matrix entry, and manifest name entries. The authoritative diff has no MD5, SHA-1, DES, RC4, 3DES, Blowfish, or ECB usage. It adds no cry…
Container-Privileges ✅ Passed PASS: The pull request adds a feature-gate declaration, documentation, and FeatureGate status entries only. The added manifest entries contain only the ExternalOIDCAsWebhook name. No added line cont…
No-Sensitive-Data-In-Logs ✅ Passed The pull request adds one feature-gate declaration, one feature-matrix row, and manifest entries. The added lines contain no logging calls or sensitive values. A scan of all changed files found no log…
Title check ✅ Passed The title clearly identifies the addition of the ExternalOIDCAsWebhook feature gate and includes the related issue identifier.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@openshift-ci openshift-ci Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Sep 16, 2026
@liouk

liouk commented Sep 21, 2026 •

Copy link
Copy Markdown
Member Author

/retitle CNTRLPLANE-4402: add ExternalOIDCAsWebhook feature gate

@openshift-ci openshift-ci Bot changed the title WIP: CNTRLPLANE-4402: add ExternalOIDCAsWebhook feature gate CNTRLPLANE-4402: add ExternalOIDCAsWebhook feature gate Sep 21, 2026
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 21, 2026
@ShazaAldawamneh

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Sep 23, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws-ovn
/test e2e-aws-ovn-hypershift
/test e2e-aws-ovn-hypershift-conformance
/test e2e-aws-ovn-techpreview
/test e2e-aws-serial-1of2
/test e2e-aws-serial-2of2
/test e2e-aws-serial-techpreview-1of2
/test e2e-aws-serial-techpreview-2of2
/test e2e-azure
/test e2e-gcp
/test e2e-upgrade
/test e2e-upgrade-out-of-change
/test minor-e2e-upgrade-minor

@everettraven

Copy link
Copy Markdown
Contributor

I'm going to go ahead and approve this gate introduction. This is strictly for separating work that has already been done under the existing ExternalOIDCExternalClaimsSourcing feature gate under a new gate for separate promotion cycles to unblock other improvements to this functionality.

@liouk please make sure the EP gets merged and does not go stale.

/approve
/lgtm

@openshift-ci

openshift-ci Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: everettraven, ShazaAldawamneh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 24, 2026
@liouk

liouk commented Sep 24, 2026

Copy link
Copy Markdown
Member Author

/retest-required

@liouk

liouk commented Sep 24, 2026

Copy link
Copy Markdown
Member Author

/verified by ci

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Sep 24, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@liouk: This PR has been marked as verified by ci.

Details

In response to this:

/verified by ci

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@redhat-chai-bot

Copy link
Copy Markdown
Contributor

/override-sticky ci/prow/e2e-aws-ovn-techpreview

Automated triage: This failure appears unrelated to the PR changes.

Job classification: Eligible long-running generated AWS OVN TechPreview end-to-end presubmit. The job uses the openshift-e2e-aws workflow and the openshift-e2e-test step; the run lasted about 4 hours.

Revision check: Prow run SHA 666f3e5b940d0f0634ecc5f451d872bc311f6625; current PR HEAD 666f3e5b940d0f0634ecc5f451d872bc311f6625; match.

Execution status: Tests executed. The exact run's JUnit artifact reports 4,416 tests, 2,261 passed, and 2,118 skipped. The build log reports 26 blocking and 5 informing failures, plus a mass-failure sentinel. The failures repeatedly show DNS timeouts resolving the cluster API hostname through CoreDNS (172.30.0.10:53), including API, console, OAuth, and external load-balancer lookups.

Completed supporting jobs: ci/prow/build, ci/prow/e2e-aws-ovn, ci/prow/e2e-aws-ovn-hypershift, ci/prow/e2e-aws-ovn-hypershift-conformance, ci/prow/e2e-aws-serial-1of2, ci/prow/e2e-aws-serial-2of2, ci/prow/e2e-aws-serial-techpreview-1of2, ci/prow/e2e-azure, ci/prow/e2e-gcp, ci/prow/e2e-upgrade, ci/prow/e2e-upgrade-out-of-change, and ci/prow/minor-e2e-upgrade-minor all succeeded. Pending separately: ci/prow/e2e-aws-serial-techpreview-2of2 and tide.

Fleet-wide failure rate: The exact job pass rate is 26.5% over 14 days and 24.6% over 30 days. This job is AWS-only, so the AWS-filtered rates are the same. Exact per-test global and AWS-filtered rates are unavailable for this presubmit context.

Open regressions: No open Component Readiness regression or bug_tests association was found for the exact failing tests; per-test Component Readiness status is unavailable for this presubmit context.

Linked bugs: None found with an explicit bug_tests link to the failing tests.

Overlap assessment: The PR adds the ExternalOIDCAsWebhook feature-gate registration and payload-manifest entries. It does not change CoreDNS, cluster networking, storage, CLI, or the API behaviors exercised by the failing tests. The only indirect overlap is the shared TechPreview feature-set configuration; the failure signature is a cluster-wide DNS outage across unrelated API, networking, node, and storage tests, not a feature-gate assertion.

Missing-coverage risk: Accepting without this particular AWS TechPreview run leaves some TechPreview coverage absent, but the PR has successful AWS OVN, AWS serial TechPreview, Azure, GCP, upgrade, build, unit, and verification signals. The failed run's tests were broadly impacted by DNS resolution failure before they could provide meaningful signal about this feature-gate change, so the residual risk is low enough for this exceptional override.

Prior bot activity on this SHA: /test e2e-aws-ovn-techpreview was already triggered on 2026-09-23. No prior override was recorded. No additional retest is being triggered because the one-retest-per-job-per-SHA limit has been used.

Rationale: The live-HEAD run executed the suite but produced a mass DNS/CoreDNS failure pattern, while the job has a 26.5% 14-day fleet pass rate and concurrent AWS quota/API-throttling outage evidence. The failure is unrelated to the PR's feature-gate metadata changes and the required supporting checks are otherwise successful.

If you disagree with this assessment, rerun the current job with /test e2e-aws-ovn-techpreview.


AI-generated. Review for accuracy.

@openshift-ci

openshift-ci Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

@redhat-chai-bot: Overrode contexts on behalf of redhat-chai-bot: ci/prow/e2e-aws-ovn-techpreview

These overrides will persist across retests on the current HEAD SHA. Pushing a new commit will clear them. Use /override-cancel to remove them.

Details

In response to this:

/override-sticky ci/prow/e2e-aws-ovn-techpreview

Automated triage: This failure appears unrelated to the PR changes.

Job classification: Eligible long-running generated AWS OVN TechPreview end-to-end presubmit. The job uses the openshift-e2e-aws workflow and the openshift-e2e-test step; the run lasted about 4 hours.

Revision check: Prow run SHA 666f3e5b940d0f0634ecc5f451d872bc311f6625; current PR HEAD 666f3e5b940d0f0634ecc5f451d872bc311f6625; match.

Execution status: Tests executed. The exact run's JUnit artifact reports 4,416 tests, 2,261 passed, and 2,118 skipped. The build log reports 26 blocking and 5 informing failures, plus a mass-failure sentinel. The failures repeatedly show DNS timeouts resolving the cluster API hostname through CoreDNS (172.30.0.10:53), including API, console, OAuth, and external load-balancer lookups.

Completed supporting jobs: ci/prow/build, ci/prow/e2e-aws-ovn, ci/prow/e2e-aws-ovn-hypershift, ci/prow/e2e-aws-ovn-hypershift-conformance, ci/prow/e2e-aws-serial-1of2, ci/prow/e2e-aws-serial-2of2, ci/prow/e2e-aws-serial-techpreview-1of2, ci/prow/e2e-azure, ci/prow/e2e-gcp, ci/prow/e2e-upgrade, ci/prow/e2e-upgrade-out-of-change, and ci/prow/minor-e2e-upgrade-minor all succeeded. Pending separately: ci/prow/e2e-aws-serial-techpreview-2of2 and tide.

Fleet-wide failure rate: The exact job pass rate is 26.5% over 14 days and 24.6% over 30 days. This job is AWS-only, so the AWS-filtered rates are the same. Exact per-test global and AWS-filtered rates are unavailable for this presubmit context.

Open regressions: No open Component Readiness regression or bug_tests association was found for the exact failing tests; per-test Component Readiness status is unavailable for this presubmit context.

Linked bugs: None found with an explicit bug_tests link to the failing tests.

Overlap assessment: The PR adds the ExternalOIDCAsWebhook feature-gate registration and payload-manifest entries. It does not change CoreDNS, cluster networking, storage, CLI, or the API behaviors exercised by the failing tests. The only indirect overlap is the shared TechPreview feature-set configuration; the failure signature is a cluster-wide DNS outage across unrelated API, networking, node, and storage tests, not a feature-gate assertion.

Missing-coverage risk: Accepting without this particular AWS TechPreview run leaves some TechPreview coverage absent, but the PR has successful AWS OVN, AWS serial TechPreview, Azure, GCP, upgrade, build, unit, and verification signals. The failed run's tests were broadly impacted by DNS resolution failure before they could provide meaningful signal about this feature-gate change, so the residual risk is low enough for this exceptional override.

Prior bot activity on this SHA: /test e2e-aws-ovn-techpreview was already triggered on 2026-09-23. No prior override was recorded. No additional retest is being triggered because the one-retest-per-job-per-SHA limit has been used.

Rationale: The live-HEAD run executed the suite but produced a mass DNS/CoreDNS failure pattern, while the job has a 26.5% 14-day fleet pass rate and concurrent AWS quota/API-throttling outage evidence. The failure is unrelated to the PR's feature-gate metadata changes and the required supporting checks are otherwise successful.

If you disagree with this assessment, rerun the current job with /test e2e-aws-ovn-techpreview.


AI-generated. Review for accuracy.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-ci

openshift-ci Bot commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

@liouk: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot
openshift-merge-bot Bot merged commit 0616345 into openshift:master Sep 24, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants